package com.group9.service.impl;

import com.group9.dto.UpdateInfo;
import com.group9.mapper.UpdateInfoMapper;
import com.group9.service.ViewDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 45865 on 2020/5/28.
 */
@Service
public class ViewDataServiceImpl implements ViewDataService {
    @Autowired
    UpdateInfoMapper updateInfoMapper;
    @Override
    public UpdateInfo viewInfo(String loginName) {
        UpdateInfo updateInfo = updateInfoMapper.viewInfo(loginName);
        return updateInfo;
    }
}
